package cn.getech.data.metadata.constant;

import lombok.Getter;

/**
 * @description: 操作日志类型
 * @author: wangzhaowen：kiss
 * @create: 2020/7/30 15:36
 * @version: 2020/7/30
 **/
@Getter
public enum TaskStatusEnum {
    //0 未采集 1采集中  2 采集成功 3 采集失败,
    NONE(0,"未采集"),
    RUNNING(1,"采集中"),
    SUCCESS(2,"采集成功"),
    FAIL(3,"采集失败"),
    STOP(4,"等待下一次采集");


    private Integer value;
    private String desc;

    TaskStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
